package com.hbsx.why.ui.mall;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;

import com.hbsx.why.R;
import com.hbsx.why.base.BaseActivity;

import java.util.ArrayList;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by User on 2017/8/30.
 */

public class MallActivity extends BaseActivity {
    @BindView(R.id.tv_topTitle)
    TextView tvTopTitle;
    private ArrayList<String> arrayList;
    private Context context = this;

    @Override
    protected int getLayoutResId() {
        return R.layout.mall_main;
    }

    @Override
    protected void initView() {
        tvTopTitle.setText("文创商城");

    }



    @OnClick({R.id.top_toolbar, R.id.mall_text1})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.top_toolbar:
                break;
            case R.id.mall_text1:
                startActivity(new Intent(context , MallListActivity.class));
                break;
        }
    }
}
